*{
	margin: 0px;
	padding: 0px;
}

body{
  font: 1.5em;
	font-family:  "helvetica neue";
  font-style: italic;
  background: url(azul.jpg) 10% fixed ;
  background-size: cover ;
}

#contenedor {
    margin: 40px auto;
    width: 1000px;  /* Ancho del contenedor */
box-sizing: border-box;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
}

#contenedor input {
height: 32px;
visibility: hidden;
}

#contenedor label {
float: left;
cursor: pointer;
font-size: 15px;  /* Tamaño del texto de las pestañas */
line-height: 40px;
height: 40px;
padding: 0 20px;
display: block;
color: #000;  /* Color del texto de las pestañas */
text-align: center;
border-radius: 5px 5px 0 0;
background: rgba(105,105,105,0.8);  /* Fondo de las pestañas */
margin-right: 5px;
}


#contenedor input:hover + label {
background: #ddd;  /* Fondo de las pestañas al pasar el cursor por encima */
color: #666;  /* Color del texto de las pestañas al pasar el cursor por encima */
}

#contenedor input:checked + label {
background: rgba(0,0,0,0.5);  /* Fondo de las pestañas al presionar */
color: #444; /* Color de las pestañas al presionar */
z-index: 6;
line-height: 45px;
height: 45px;
position: relative;
top: -5px;
color:#fff;
-webkit-transition: .1s;
-moz-transition: .1s;
-o-transition: .1s;
-ms-transition: .1s;
}

.content {
background: rgba(0,0,0,0.6);  /* Fondo del contenido */
position: relative;
width: 100%;
height: 500px;  /* Alto del contenido */
padding: 30px;
z-index: 5;
border-radius: 0 5px 5px 5px;
}

.content div {
position: absolute;
z-index: -100;
opacity: 0;
transition: all linear 0.5s;
}

#contenedor input.tab-selector-1:checked ~ .content .content-1,
#contenedor input.tab-selector-2:checked ~ .content .content-2,
#contenedor input.tab-selector-3:checked ~ .content .content-3,
#contenedor input.tab-selector-4:checked ~ .content .content-4 {
    z-index: 100;
    opacity: 1;
    -webkit-transition: all ease-out 0.2s 0.1s;
-moz-transition: all ease-out 0.2s 0.1s;
-o-transition: all ease-out 0.2s 0.1s;
-ms-transition: all ease-out 0.2s 0.1s;
}

/*******************Pestaña 1**************************/
.content-1 img{
  width: 1000px;
  height: 500px;
  border-radius: 10px 10px 10px 10px;
}

@-webkit-keyframes swing
{
    15%
    {
        -webkit-transform: translateX(5px);
        transform: translateX(5px);
    }
    30%
    {
        -webkit-transform: translateX(-5px);
       transform: translateX(-5px);
    } 
    50%
    {
        -webkit-transform: translateX(3px);
        transform: translateX(3px);
    }
    65%
    {
        -webkit-transform: translateX(-3px);
        transform: translateX(-3px);
    }
    80%
    {
        -webkit-transform: translateX(2px);
        transform: translateX(2px);
    }
    100%
    {
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }
}
@keyframes swing
{
    15%
    {
        -webkit-transform: translateX(5px);
        transform: translateX(5px);
    }
    30%
    {
        -webkit-transform: translateX(-5px);
        transform: translateX(-5px);
    }
    50%
    {
        -webkit-transform: translateX(3px);
        transform: translateX(3px);
    }
    65%
    {
        -webkit-transform: translateX(-3px);
        transform: translateX(-3px);
    }
    80%
    {
        -webkit-transform: translateX(2px);
        transform: translateX(2px);
    }
    100%
    {
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }
}

.content-1 img:hover{
-webkit-animation: swing 1s ease;
        animation: swing 1s ease;
        -webkit-animation-iteration-count: 1;
        animation-iteration-count: 1;
}

/**************************************************************/

/********************Pestaña 2*********************************/

.content-2 table{
    margin-left: 150px;
    color: #000;
    border: solid rgba(255,255,255,0.5);
    background: rgba(255,255,255,0.5);
    border-radius: 10px 10px 10px 10px;
} 

.content-2 a{
    text-align: center;
    margin-left: 100px;
    margin-top: 25px;
    display: inline-block;
    height: 38px;
    width: 100px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    border-radius: 5px;
    border: 2px solid #000;
    background: #4682b4;
    outline: none;
    color: #fff;
    text-decoration: none;
    -webkit-box-shadow: inset 1px 1px 0px #c8e5b3, 1px 2px 1px rgba(0,0,0,.09);
  -moz-box-shadow: inset 1px 1px 0px #c8e5b3, 1px 2px 1px rgba(0,0,0,.09);
  box-shadow:  inset 1px 1px 0px #c8e5b3, 1px 2px 1px rgba(0,0,0,.09);
}



/***********************Footer*********************************

#footer{
    height: 300px;
    clear: both;
    background: #DCDCDC;
    border-top: 5px solid rgba(0,0,0,0.8);
}

#footer ul{
    display: inline-table;
}

#footer li{
    list-style: none;
}